package random;

import java.util.Random;

public class UsandoRandom {
	
	public static void main(String[]args){
		Random rnd = new Random();
        System.out.println("Número aleatorio real entre [0,1[ : "+rnd.nextDouble());
        
        System.out.println("Primera secuencia."+"\n");
        System.out.println(rnd.nextDouble());
        System.out.println(rnd.nextDouble());
        System.out.println("Segunda secuencia."+"\n");
        System.out.println(+rnd.nextDouble());
        System.out.println(rnd.nextDouble());
        
        System.out.println("enteros "+"\n");
        System.out.println(rnd.nextInt(110));
        System.out.println(rnd.nextInt(110));
        System.out.println(rnd.nextInt(110));
        System.out.println(rnd.nextInt(110)*-1);
        
	}
	public UsandoRandom(){
		
	}
	

}
